package com.briup.demo.mapper;

import com.briup.demo.bean.CmsStudent;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CmsStudentMapper {
    int deleteByPrimaryKey(String num);

    int insert(CmsStudent record);

    CmsStudent selectByPrimaryKey(String num);

    List<CmsStudent> selectAll();
    //
    List<CmsStudent> findByName(String name);

    int updateByPrimaryKey(CmsStudent record);
    
    int batchDeleteByNums(@Param("nums")String[] nums);
}